Important update in Apr 2026#134
Merged
xueweic merged 17 commits intoStatFunGen:mainfrom Apr 22, 2026
Merged
Conversation
Modify Code Only: Add X_ref parameter: accept reference panel genotype matrix instead of LD
Add unit test for the new implementation of X_ref
1. add use_entropy for leveraging trait heterogeneity when integrating weights 2. remove the dependency parameter from residual_correlation
add the consideration of the residual correlation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
X_refparameter and integration improvements1. New feature:
X_ref— memory-efficient LD handlingWhen the number of variants (P) is large, storing the full P × P LD matrix can exceed available memory. Users can now provide a reference panel genotype matrix (
X_ref, dimension N_ref × P) directly, and ColocBoost will compute LD products on the fly without materializing the full correlation matrix. Existing workflows using precomputed LD matrices are fully backward-compatible and require no changes.2. Entropy-based weight integration (optional)
Introduced two new optional parameters —
use_entropyandresidual_correlation— that allow users to incorporate trait heterogeneity when integrating evidence weights across outcomes. Both default toFALSE/NULLand do not alter existing behavior. Additionally, removed the legacydependencyadjustment from the variant selection step.3. Bug fixes
get_robust_colocalizationthat could produce incorrect results under certain input configurations.